package com.xmb.common.service;

import com.xmb.common.entity.XmbUserBonusBlotter;
import com.xmb.common.entity.reward.ActivityRanking;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by lyndon on 2019/4/10.
 * 用户奖金流水
 */
public interface UserBonusService {

    BigDecimal getTotalBonus(Long uid);

    int saveBonusBlotter(XmbUserBonusBlotter record);

    List<XmbUserBonusBlotter> getBonusList(Long userId, Long typeId, String exchangeType);

    List<ActivityRanking> getBonusRanking(Long typeId);

    ActivityRanking getCurrentUserActivityRewardRanking(Long activityId,Long userId);
}
